package com.droowa.model.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.droowa.domain.OrderInfo;
import com.droowa.domain.OrderList;
import com.droowa.domain.OrderProduct;

public interface OrderDAO {

		public abstract int insertOrderInfo(OrderInfo orderInfo) throws SQLException;
		
		

		
		public abstract int insertOrderProduct(OrderProduct orderProduct) throws SQLException;
		
		public abstract OrderProduct getOrderProductById(String orderProductId) throws SQLException;
		
		public abstract List<OrderProduct> getOrderListById(String custId) throws SQLException;
		
		public abstract int updateOrderProductResult(String completeId) throws SQLException;

		public abstract int updateOrderProductResultFalse(String completeId) throws SQLException;

		public abstract int deleteOrderProduct(String custId, String completeId) throws SQLException;


		public abstract int insertOrderList(OrderList orderList) throws SQLException;
		
		public abstract List<OrderList> getOrderListByCustId(String custId) throws SQLException;
}
